package com.zr.corporate.service;

import com.zr.corporate.pojo.*;
import com.zr.planclass.pojo.PlanClassAddVo;
import com.zr.planclass.pojo.PlanClassSelectVo;
import com.zr.util.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.util.List;

/**
 * Created by Administrator on 2019/9/24.
 */
public interface CorporateFactoryService {

    ResultVo queryPage(CorporateFactorySelectVo corporateFactorySelectVo);

    ResultVo add(@Valid List<CorporateFactoryAddVo> corporateFactoryAddVoList);

    ResultVo update(@Valid CorporateFactoryUpdateVo corporateFactoryUpdateVo);

    ResultVo updateStatus(@Valid CorporateFactoryUpdateStatusVo corporateFactoryUpdateStatusVo);

    ResultVo queryCorporateByUserId(Integer userId);

    ResultVo importFile(MultipartFile file)throws Exception;

    ResultVo exportExcel(HttpServletResponse resp, CorporateFactorySelectVo corporateFactorySelectVo)throws Exception;
}
